package com.qeeyou.apps.android.craftsman.common;

/**
 * Created by xuchengxiong on 2018/1/10.
 */

public class Contants {

    //师傅列表排序类型
    public static final String SORT_BY_DEFAULT = "0";           //默认
    public static final String SORT_BY_SCORE = "1";             //评分
    public static final String SORT_BY_DISTANCE = "2";          //距离

    //订单状态
    public static final String ORDER_STATUS_TODO  = "1";             //待接单
    public static final String ORDER_STATUS_DOING = "2";             //服务中
    public static final String ORDER_STATUS_DONE  = "3";             //已完成
    public static final String ORDER_STATUS_CANCEL  = "4";           //已取消
    public static final String ORDER_STATUS_DRAFT = "9";             //待发布[草稿]

    public interface PayMethod {
        final static String WEIXIN = "PAY_BY_WEIXIN";
        final static String ALIPAY = "PAY_BY_ALIPAY";
    }

    public interface Extra{
        String EXTRA_IMAGE_LIST = "EXTRA_IMAGE_LIST";
        String EXTRA_IMAGE_ID = "EXTRA_IMAGE_ID";
        String EXTRA_IMAGE_PREVIEW_IS_SHOW_DELETE = "EXTRA_IMAGE_PREVIEW_IS_SHOW_DELETE";

        String EXTRA_ADDRESS_INFO = "EXTRA_ADDRESS_INFO";
        String EXTRA_INSTALL_TIME = "EXTRA_INSTALL_TIME";
        String EXTRA_WORKING_DAY = "EXTRA_WORKING_DAY";
        String EXTRA_INSTALL_NUM = "EXTRA_INSTALL_NUM";
        String EXTRA_INSTALL_TYPE = "EXTRA_INSTALL_TYPE";
        String EXTRA_INSTALL_MATERIAL = "EXTRA_INSTALL_MATERIAL";
        String EXTRA_INSTALL_METHOD = "EXTRA_INSTALL_METHOD";
        String EXTRA_INSTALL_SHOP = "EXTRA_INSTALL_SHOP";
        String EXTRA_INSTALL_LENGTH = "EXTRA_INSTALL_LENGTH";
        String EXTRA_INSTALL_PRICE = "EXTRA_INSTALL_PRICE";
        String EXTRA_INSTALL_UNIT_PRICE = "EXTRA_INSTALL_UNIT_PRICE";
    }

    public interface RequestCode {
        int REQUEST_REGISTER = 1000;
        int REQUEST_MODIFY_ADDRESS = 1001;
        int REQUEST_SELECT_ADDRESS = 1002;
        int REQUEST_SELECT_PROVINCE_CITY = 1003;

        int REQUEST_TAKE_IMAGE_FROM_ALBUM = 2001;
        int REQUEST_IMAGE_PREVIEW = 2002;

        final int REQUEST_CODE_WORKING_DAY = 3000;
        final int REQUEST_CODE_INSTALL_TYPE = 3001;
        final int REQUEST_CODE_INSTALL_MATERIAL = 3002;
        final int REQUEST_CODE_INSTALL_METHOD = 3003;

        int REQUEST_COMMENT_ORDER = 4000;
    }

    public interface Client {
        String FILE_PROVIDER = "com.qeeyou.apps.android.craftsman.fileprovider";
    }
}
